package ferp.poll;

/**
 * User: igorgok
 * Date: 15/05/2014 09:04
 */
public class Option
{
  public Option(Poll.Language language, int question, int id) {this(language, question, id, null);}
  public Option(Poll.Language language, int question, int id, Question next) {this(language.option(question, id), next);}
  public Option(String text) {this(text, null);}
  public Option(String text, Question next)
  {
    this.text = text;
    this.next = next;
  }

  public String text() {return text;}
  public Question next() {return next;}

  private String text;
  private Question next;
}
